package com.yaoxian.service.api;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
	* @author YaoXian
	* @title: OrderService
	* @projectName 微服务项目架构
	* @description: TODO
	* @date 2020-07-04 15:56
	*/
public interface OrderService {
		/**
			*  订单服务调用会员服务
			* @param username
			* @return String
			*/
		@RequestMapping(name = "/orderToMember")
		String orderGetMember(String username);
		
		/**
			* 测试服务保护框架Hystrix
			* @return String
			*/
		@RequestMapping(path = "/testHystrix")
		String testHystrix();
}
